package com.ruoyi.quartz.task;

import com.ruoyi.module.business.CmErpBusiness;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component("erpFileTask")
@RequiredArgsConstructor
public class ErpFileTask {

    private final CmErpBusiness cmErpBusiness;

    public void checkFile() {
        log.info("checkFile start");
        cmErpBusiness.checkFile();
    }

    public void analysisFiles() {
        log.info("analysisFiles start");
        cmErpBusiness.analysisFiles();
    }
}
